package com.qdxwx.data.mapper.channel;

import com.qdxwx.models.channel.CompanyChannel;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Qdx NetSchool Platform
 * @author qdxwx
 * @updateTime 2022/5/25
 * @description
 */
@Repository
public interface CompanyChannelMapper {

    int insertCompanyChannel(CompanyChannel companyChannel);

    int deleteById(int id);

    int deleteByCompanyChannel(@Param("e") CompanyChannel companyChannel);

    List<CompanyChannel> selectList(@Param("e") CompanyChannel companyChannel);

    int updateSort(@Param("e") CompanyChannel companyChannel);
}
